package com.ftwj.demo.permission.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import springfox.documentation.annotations.ApiIgnore;

/**
*
* <p>Title: IndexController</p>  
* <p>Description: 服务主页前端控制器</p>
* <p>Copyright: Copyright (c) 2020 </p>  
* <p>Company: 兰州飞天网景信息产业有限公司</p>    
* @author WangSLi
* @date 2020年4月4日 下午5:56:41
* @version V1.0
 */
@Controller
@ApiIgnore
@RequestMapping({"/index","/","index.html","home.html"})
//@RequiresAuthentication
public class IndexController {
	
	@GetMapping("/")
	public String index()  {
	    return "redirect:swagger-ui.html";
	}
}
